<?php
/**
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file license.txt or that can be found at 
 * http://code.google.com/p/billboardce/wiki/License.
 *
 * @package    Oauth_Datastore
 * @category   Library
 * @license    http://code.google.com/p/billboardce/wiki/License New BSD License
 * @version    SVN: $Id: $
 */

/**
 * @package    Oauth_Datastore
 * @category   OAuth
 */
interface Oauth_Datastore_Interface
{	
	public function lookupToken($consumer, $tokenType, $token);
	
	public function lookupConsumer($consumerKey);
	
	public function lookupNonce($consumer, $token, $nonce, $timestamp);
	
	public function newToken($consumer, $type = "request");
	
	public function newRequestToken($consumer);
	
	public function newAccessToken($token, $consumer);
}